﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.Passport.Domain
{
    [Table("Category")]
    public class Category
    {
        [Key]
        /// <summary>
        /// 产品类别编号，使用 int 类型
        /// Category ID, using int type
        /// </summary>
        public int CategoryId { get; set; }

        /// <summary>
        /// 类别名称
        /// Category name
        /// </summary>
        public string CategoryName { get; set; }

        /// <summary>
        /// 上级名称
        /// Parent category name
        /// </summary>
        public int ParentCategoryId { get; set; }

        /// <summary>
        /// 备注信息
        /// Remarks
        /// </summary>
        public string Remarks { get; set; }

        /// <summary>
        /// 创建时间
        /// Creation time
        /// </summary>
        public DateTime CreationTime { get; set; }
    }
}
